package net.hn.hnms.biz.plan.domain;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.annotation.*;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 进尺产量执行表
 *
 * @author ly
 * @since 1.0.0 2022-08-16
 */
@Data
@NoArgsConstructor
@ExcelIgnoreUnannotated
@EqualsAndHashCode(callSuper=false)
@TableName("execution_footage_output")
public class ExecutionFootageOutput extends BaseModel implements Serializable {

	private static final long serialVersionUID = -6071102420304177038L;
	/**
	* 主键ID
	*/
	@TableId(type = IdType.ASSIGN_UUID)
	private String footageExecutionId;

	/**
	* 日期
	*/
	@ApiModelProperty(value = "日期")
	@JsonFormat(
			pattern = "yyyy-MM-dd",
			timezone = "GMT+8"
	)
	@DateTimeFormat( pattern = "yyyy-MM-dd")
	@TableField(updateStrategy= FieldStrategy.IGNORED)
	private Date executionDate;

	/**
	* 班次ID
	*/
	@ApiModelProperty(value = "班次ID")
	@TableField(updateStrategy= FieldStrategy.IGNORED)
	private String shiftId;

	/**
	* 工作面类型 0回采工作面1掘进工作面2开拓工作面
	*/
	@ApiModelProperty(value = "工作面类型")
	@TableField(updateStrategy= FieldStrategy.IGNORED)
	private String workFaceType;

	/**
	* 工作面ID
	*/
	@ApiModelProperty(value = "工作面ID")
	@TableField(updateStrategy= FieldStrategy.IGNORED)
	private String workFaceId;

	/**
	* 进尺(m)
	*/
	@ApiModelProperty(value = "进尺(m)")
	@TableField(updateStrategy= FieldStrategy.IGNORED)
	private BigDecimal footage;

	/**
	 * 开拓(m)
	 */
	@ApiModelProperty(value = "开拓(m)")
	@TableField(updateStrategy= FieldStrategy.IGNORED)
	private BigDecimal develop;

	/**
	* 产量(t)
	*/
	@ApiModelProperty(value = "产量(t)")
	@TableField(updateStrategy= FieldStrategy.IGNORED)
	private BigDecimal output;


	@ApiModelProperty(value = "刀数")
	@TableField(updateStrategy= FieldStrategy.IGNORED)
	private BigDecimal knifeQuantity;


}